package com.xiangyang.service.impl;

import com.xiangyang.entity.OperLog;
import com.xiangyang.mapper.OperLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OperLogService {

    @Autowired
    private OperLogMapper operLogMapper;

    public void save(OperLog log) {
        operLogMapper.insert(log);
    }
}